/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cafe.DataObject;

/**
 *
 * @author root
 */
public class BillDetail {

    private String billId;

    private String foodId;

    private int amount;

    private long price;

    
    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getBillId() {
        return this.billId;
    }

    public void setFoodId(String foodId) {
        this.foodId = foodId;
    }

    public String getFoodId() {
        return this.foodId;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getAmount() {
        return this.amount;
    }

    public void setPrice(long price) {
        this.price = price;
    }

    public long getPrice() {
        return this.price;
    }

    public Object[] toObjectArray() {
        Object[] arr = new Object[4];

        arr[0] = this.billId;
        arr[1] = this.foodId;
        arr[2] = this.amount;
        arr[3] = this.price;

        return arr;
    }
}
